Didn’t the Supreme Court overturn that law?
Not just one law. I didn’t know at first. Some upheld, some curtailed. Here is a Freedom Forum summary.
https://www.freedomforum.org/son-of-sam-laws/