The Texas law was challenged by First Amendment lawyers who filed a suit on behalf of college professors who said that their work had been compromised when they lost access to the app.