The legislation was written after the state’s largest wildfire scorched more than 1 million acres in the Panhandle last year.