; or (2) intelligence gathering activities. (c) Waiver The prohibition in subsection (a) may be waived on a case-by-case basis if— (1) the President submits to Congress a certification that the availability of funds for the activities described in subsection (a) is in the national interests of the United States; and (2) Congress, within 30 days after receipt of a certification under paragraph (1), enacts a joint resolution authorizing the availability of funds for the activities described in subsection (a). (d) Expedited procedures A joint resolution described in subsection (c)(2) and introduced within the appropriate 30-day period shall be considered in the Senate and House of Representatives in accordance with paragraphs (3) through (7) of section 8066(c) of the Department of Defense Appropriations Act, 1985 (as contained in Public Law 98–473 ; 98 Stat. 1935), except that in applying and administering such paragraphs— (1) references in such paragraphs to the Committees on Appropriations of the House of Representatives and the Senate shall be deemed to be references to the Committee on Foreign Affairs of the House of Representatives and the Committee on Foreign Relations of the Senate, respectively; and (2) paragraph (5)(B) of such section 8066(c) shall be applied and administered by substituting not less than eight hours but not more than ten hours for not more than ten hours .