SECOND amendment to AMENDED AND RESTATED credit agreement