(A) A person may not purchase a pistol from a dealer unless he is a resident of this State. For the purpose of this article, the possession of a valid South Carolina driver's license or Department of Motor Vehicles identification card constitutes proof of residency. However, residency is not required of a person who is on active duty in the United States military and who is in possession of a current United States military identification card.
(B) For purposes of this section, the purchase of a pistol does not include the redeeming of a pistol by its owner after it has been pledged to secure a loan.