Section 20066 and subdivisions (a) and (b) of Section 20068 shall not apply to a state miscellaneous or state industrial member subject to Section 21076, 21076.5, or 21077 who becomes a patrol member, a state safety member, or a state peace officer/firefighter member as a result of an amendment to this part defining those members, or is reclassified as a state peace officer/firefighter member pursuant to Section 20395 or 20398, unless the member elects to: (a) deposit in the retirement fund an amount equal to any accumulated contributions that he or she withdrew pursuant to Section 20737, plus an amount equal to
the interest which would have been credited to his or her account, to the date of completion of payments, had those contributions not been withdrawn; and (b) deposit in the retirement fund the amount that he or she would have contributed had he or she not been subject to subdivision (c) of Section 20677, plus an amount equal to the interest, to the date of completion of payments, which would have been credited to those contributions had he or she been subject to subdivision (a) or (b) of Section 20677.