It seems to me the Dept of Labor is trying to solve a problem at the hiring level that exists at a much higher level, beyond the scope of any one company.
Additionally, in that context I'm not even convinced it's a problem in itself that needs solving via state intervention. Unless there is some abstract benefit to diversity of the people behind the code in software development that I'm not seeing. Other than the fact engineers make better money than other industries and it's in demand - but that should be a sufficient incentive by itself.