The American Civil Liberties Union has filed a class-action lawsuit in federal court seeking to block the Trump administration from using grand jury subpoenas to identify anonymous social media users who have criticized or threatened Immigration and Customs Enforcement online.