Sounds like a seriously repressive state. If the law were used, it could be invalidated as it is in violation of a person's right to make records of their observations and, especially, their right to publish those records.
I've no doubt that there were plenty of constitutional challenges to the statutes, none of which were successful.