A state seems to have the prerogative to issue drivers licenses to whoever they wish to. 5 year olds, residents of other states, people living in Colombia, etc. This is not federal jurisdiction.
To ensure the public safety of the country, the feds do not need a law to combat. This may be Executive Action.
All it needs to do is to immediately stop recognizing as a valid ID ALL drivers licenses from any state that does not control issuance of drivers licenses in conformance with federal laws already existing.
Imagine no passports being issued to New Yorkers. Or not able to open a banking account at a federal institution due to lack of proper ID?
I think the precedent was set last week by DHS in not allowing Global Entry due to recent NY laws allowing illegals to obtain driver licenses.