Replacing all queries with prepared statements in Law class.  #278