If this law comes into effect, consumers will pay the increased cost of delivery of 7 years of software updates when they purchase new phones.
Smartphone makers don't sell new phones with a higher price tag and the guarantee of 7 years of software updates, likely because consumers would prefer a lower price and no guarantee.
Thus, the law would effectively force people to buy something that they don't want.