The bipartisan bill would require district attorneys to demonstrate to a judge that there is a connection between the art and the crime.