In case any person executing a deed concerning lands, tenements, or hereditaments within this State, or any affidavit, or other statement requiring proof is a member of the armed forces of the United States or of any unarmed auxiliary thereto and is located in any foreign country, the acknowledgment of such deed or other instrument may be taken by any commanding officer of such person, provided th