Pressure is mounting on China over its plans to impose a security law on Hong Kong.