AMENDMENT NO. 2 TO THE AMENDED AND RESTATED INVESTMENT ADVISORY AGREEMENT