Privacy advocates and Big Tech have blocked similar state laws through lobbying and First Amendment challenges.