Bill aims to criminalize the sale of leaks, but may affect the work of researchers and specialized media