The board may contract for the services of a legal advisor to the board of trustees until September 1, 2024. Beginning September 1, 2024, the attorney hired by the retirement board pursuant to section shall also advise such board regarding the administration of the retirement system.