For the purpose of any of the twenty-five year retirement plans for state and county correction officers, sheriffs, deputy sheriffs, and/or undersheriffs provided pursuant to this chapter, service which has been credited under such a plan for the state and any county shall be creditable under any other such twenty-five year plan provided by the state and any other county.
N.Y. Retire. and Soc. Sec. Law § 89-U