All persons serving in the state civil service in the Division of Industrial Safety or in the Occupational Health Branch of the State Department of Health Services, and engaged in the performance of a function transferred to the Division of Occupational Safety and Health shall, in accordance with Section 19370 of the Government Code, remain in the state civil service and are hereby transferred to the Department of Industrial Relations. The status, positions, and rights of such persons shall not be affected by their transfer and shall continue to be retained by them pursuant to the State Civil Service Act, except as to positions the duties of which are vested in a position that is exempt from civil service.