The law will first have to pass the EU parliament which is a simple majority of the plenary (i.e. all MEPs). Then it needs to pass the Council which in this case would probably require qualified majority at the least and unanimity at the most.
Qualified majority would be at the least 55% of Council countries and Council representation from at least 65% of the population.
Unanimity is obvious; all EU Council members would have to agree.