This is effectively a ban on parody.
And they presumably get away with it by announcing it so short before the election that the Supreme Court can't kill it.
https://www.foxbusiness.com/politics/newsom-signs-election-deepfake-ban-musk-claps-back-resharing-ai-altered-video-kamala-harris.amp