And Democrats and Republicans teamed up to pass an energy law in 2020 in the waning days of the first Trump administration.