Proposed Oklahoma legislation would authorize companies to convert abandoned oil and gas wells for geothermal and energy storage use.