I fail to see your point. The law is not mandating equal pay, just transparency on the average salary for people doing the same work (which is trivial to establish in any large corporations where job descriptions are somewhat standardised). Obviously it’s not going to change much in a company where only two people do the same job but that’s not the work environment of most employees.