TOKYO - Japan's parliament enacted a law Wednesday requiring major technology companies to be more transparent, falling in line with other countries in toughening regulations on industry giants such as Google LLC and Amazon.com Inc.