AMENDMENT NUMBER FIVE TO AMENDED AND RESTATED CREDIT AGREEMENT AND AMENDMENT NUMBER TWO TO AMENDED AND RESTATED SECURITY AGREEMENT