TOKYO - Japan's parliament on Friday enacted a law to create a pool of funds to cover part of a substantial increase in defense spending to protect the country against security threats from its neighbors.