Japan’s Parliament has passed a new law that would create a regulatory framework for stablecoins, essentially defining them as digital money.