The move was intended in part to prevent the release of sexually explicit texts that lawmakers sent Cassidy Hutchinson.