C. No dealer shall sell, rent, trade or transfer from his inventory any firearm, (except when the transaction involves a rifle or a shotgun and can be accomplished pursuant to the provisions of subdivision B 5) to any person who is not a resident of Virginia unless he has first obtained from the Department of State Police a report indicating that a search of all available criminal history record information has not disclosed that the person is prohibited from possessing or transporting a firearm under state or federal law. The dealer shall obtain the required report by mailing or delivering the written consent form required under subsection A to the State Police within 24 hours of its execution. If the dealer has complied with the provisions of this subsection and has not received the required report from the State Police within 10 days from the date the written consent form was mailed to the Department of State Police, he shall not be deemed in violation of this section for thereafter completing the sale or transfer.