Japan plans to enact legislation in 2024 that may fine Apple and Google