second AMENDMENT TO first amended and restated SENIOR SECURED CREDIT AGREEMENT