We need some kind of modern equivalent to the old proposed Digital Media Consumer's Rights Act but which protects people's rights to digital media they buy. These should never be sold and then taken away with no compensation like this. We need a law that forces companies to treat digital files the same as a physical purchase. They can't take it away and have to allow people to resell and loan out as well. And in cases of online games where you can buy something, and then later they can ban you which deprives you of being able to use what you bought, that should come with requirements that the company must provide full compensation of the purchase price. It should also ban EULA's and TOS from defining these things as only licenses even though they are structured as a purchase in a store.
I know it'll never happen with the people we have in government these days, and the anti-consumer organizations, like the ESA, that are out there now claiming things like running private servers for Minecraft is illegal and piracy. (Yes, they really said that. Despite the fact that Minecraft has always provided the server and allowed this for 15+ years)