AMENDED AND RESTATED SECURED CONVERTIBLE TERM NOTE A