The Japanese government is reportedly in the process of crafting legislation that would compel major tech companies, including Apple and…