AMENDMENT NO. 2 TO SUBORDINATED LOAN AND SECURITY AGREEMENT