On and after July 1, 1971, and notwithstanding any law to the contrary, elected state officials, appointed state officers and other state employees are not required to give and file surety or fidelity bonds, except when federal law or rule requires such a bond as a condition precedent to receiving federal grants.