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