; and (ii) the hydroelectric project installed on the dam— (I) is licensed or is exempt from licensing by the Commission; (II) is in compliance with— (aa) the terms and conditions of the license or exemption; and (bb) other applicable legal requirements for the protection of environmental quality, including applicable fish passage requirements; and (III) is operated so that the water surface elevation at any given location and time that would have occurred in the absence of the hydroelectric project is maintained, subject to any license or exemption requirements that require changes in water surface elevation for the purpose of improving the environmental quality of the affected waterway. (7) Qualified renewable biomass The term qualified renewable biomass means renewable biomass that, when combusted, yields, on a weighted-average basis, a 50-percent reduction in lifecycle greenhouse gas emissions (as defined in section 4(a) of the American Renewable Energy and Efficiency Act ) per unit of useful energy, as compared to the operation of a combined cycle natural gas electric generating facility using the most efficient commercially available technology, when calculated over a 20-year life cycle. (8) Renewable biomass The term renewable biomass means— (A) crop byproducts or crop residues harvested from actively managed or fallow agricultural land that is cleared prior to the date of enactment of this section; (B) planted trees, brush, slash, and residues from an actively managed tree farm dedicated to energy crop production and located on land cleared prior to the date of enactment of this section; (C) byproducts of wood or paper mill operations, including lignin in spent pulping liquors; (D) algae; (E) nonhazardous plant matter derived from waste— (i) including separated yard waste, landscape right-of-way trimmings, or food waste; but (ii) not including municipal solid waste, recyclable waste paper, painted, treated or pressurized wood, or wood contaminated with plastic or metals