Bondi said the lawsuit zeroed in a law preventing the Department of Motor Vehicles from sharing information it gathers about noncitizens.