How would you feel if a piece of hardware came with a license prohibiting software developers from using encryption to secure their systems?
The root of the issue here is that phone hardware landscape is effectively a duopoly. It is an antitrust issue. Trying to use software licenses to do this 1) won't be effective because the duopoly will never use them, and 2) is like going around your ass to get to your elbow. Even if it did work it wouldn't get to the root of the issue. The law needs to fix the fact that almost all phones on the planet are controlled either directly or indirectly by two companies.
> controlled either directly or indirectly by two companies
While many manufacturers physically make Android phones they all functionally play by Google’s rules as a contractual condition to get proprietary gApps.
Amazon even tried to pull off an Android fork without gApps but failed.
The only third option is Huawei’s HarmonyOS if you live in China.