SECOND AMENDMENT TO INTERCREDITOR AGREEMENT