AMENDMENT NO. 2 AND WAIVER TO SECOND LIEN TERM LOAN AGREEMENT