Legislation to Investigate and Measure Environmental Impacts of AI