The tech giants say the law, set to take effect Jan. 1, violates the First Amendment.