SECOND AMENDED AND RESTATED SENIOR SUBORDINATED LOAN AGREEMENT