SECOND AMENDMENT TO THE LOAN PURCHASE AND SALE AGREEMENT