Section 35. No bond or security belonging to the commonwealth shall be transferred except with the written approval of the governor. A note, bond, mortgage or other security which has been made to the state treasurer by name may be assigned, transferred or discharged by him or by any successor in office.