The proposed legislation comes at a time of increasingly devastating wildfires.