Attorney General Eric Holder announced the new Justice Department guidelines on Friday. They would make it harder for prosecutors to obtain journalists’ phone records without advance notice.

Schumer said he has not yet spoken to the White House about the new bill. Schumer said the White House has been supportive in the past, though, and that he expects that to continue.

The proposed legislation would also ensure reporters have the ability to protect the identity of anonymous sources, with limited exceptions. The bill would create a legal framework for circumstances when it was lawful to compel reporters to reveal their sources. In most cases, the government would have to argue in court as to why it needed the information.