For purposes of sections 415 and 416 of this title, a period for which an officer of an armed force, while employed as a National Guard technician, is required to wear a uniform under
section 709(b) of title 32 shall be treated as a period of active duty (other than for training).