; and (B) not be subject to paragraph (6)(A), (6)(C), (7)(A), or (9) of section 212(a) of such Act ( 8 U.S.C. 1182(a) ). (2) The Secretary of Homeland Security shall rescind the lawful permanent resident status of a person whose status was adjusted under paragraph (1) if, before the person completes a period of obligated service, the person receives a discharge from the Armed Forces that is not an honorable discharge. (3) Nothing in this subsection shall be construed to alter the process prescribed by sections 328, 329, and 329A of the Immigration and Nationality Act ( 8 U.S.C. 1439 , 1440, 1440–1) by which a person may naturalize through service in the Armed Forces. . (c) Clerical amendments (1) Section heading The heading of such section is amended to read as follows: 504. Persons not qualified: citizenship or residency requirements; exceptions . (2) Table of sections The table of sections at the beginning of chapter 31 of such title is amended by striking the item relating to section 504 and inserting the following new item: 504. Persons not qualified: citizenship or residency requirements; exceptions. .