AMENDED AND RESTATED SECURED TERM LOAN NOTE