The laws, rushed through NSW parliament after the Bondi terrorist attack, allowed the police commissioner to restrict protests across Sydney.