This is early on in the bill and exactly what I am stating. This, and most of the bill, protect legal citizens and prohibits gestapo style searches.

the bill would prohibit an employer or other person acting on the employer’s behalf from providing voluntary consent to an immigration enforcement agent to enter nonpublic areas of a place of labor unless the agent provides a judicial warrant,