for the calendar year, determined by substituting calendar year 2017 for calendar year 2016 in subparagraph (A)(ii) thereof. 9906. Carbon capture and sequestration (a) In general The Secretary, in consultation with the Administrator and the Secretary of Energy, shall prescribe regulations for making payments as provided in subsection (b) to qualified facilities which capture and sequester qualified carbon dioxide. (b) Payment amounts (1) In general The Secretary shall make payments to a qualified facility in the same manner as if such payment was a refund of an overpayment of the carbon fee imposed by section 9902, in cases in which such qualified facility— (A) uses any covered fuel— (i) with respect to which the carbon fee has been paid, and (ii) which results in the emission of qualified carbon dioxide, (B) captures such emitted qualified carbon dioxide, and (C) (i) sequesters such qualified carbon dioxide in a manner which is safe, permanent, and in compliance with any applicable local, State, and Federal laws, or (ii) utilizes such qualified carbon dioxide in a manner provided in paragraph (3)(C). (2) Amount of refund The payment determined under this section shall be an amount equal to the lesser of— (A) (i) the adjusted metric tons of qualified carbon dioxide captured and sequestered or utilized, multiplied by (ii) the carbon fee rate during the year in which the carbon fee was imposed by section 9902 upon the covered fuel to which such carbon dioxide relates, or (B) the amount of the carbon fee imposed by section 9902 with respect to such covered fuel. (3) Definitions and special rules For purposes of this section— (A) Qualified carbon dioxide