The law allows undocumented immigrants to obtain driver’s licenses and restricts the sharing of state auto bureau information with federal agencies that primarily enforce immigration laws.