WAIVER AND AMENDMENT NO. 3 TO REVENUE INTEREST PURCHASE AGREEMENT AND AMENDMENT NO. 2 TO SECURITY AGREEMENT