Prohibition on book bans, right to sue for ‘deepfake porn’ among new laws taking effect Jan. 1