The new directive sparked concern among lawmakers and rights groups over First Amendment protected speech.