The legislation would require sheriffs to check the citizenship status of people being held in jail on felony charges.