; and (ii) with the permission of a State, or political subdivision of a State, may query, search, or otherwise access the databases of the firearms registration system or pawnbroker records system of the State or political subdivision. (D) The National Tracing Center may query, search, or otherwise access the electronic databases described in this paragraph only to obtain information related to any Federal, State, local, tribal, or foreign criminal investigation. (E) The databases established under this paragraph— (i) shall be electronically searchable by date of disposition, license number, and the information identified on each firearm or other firearm descriptor, including the manufacturer, importer, model, serial number, type, and caliber or gauge; (ii) shall not be electronically searchable by the personally identifiable information of any individual, without a warrant authorizing such a search; and (iii) shall include in search results the entire contents of the relevant records kept by the licensee. . (c) Video recordings of sales and transfers Section 923(g) of such title is further amended by adding to the end the following: (10) In accordance with regulations promulgated by the Attorney General, each licensed dealer operating a location at which firearms are sold to a person not licensed under this chapter shall— (A) maintain video surveillance of all areas within each premises where firearms in the business inventory of the licensee are sold or transferred; (B) retain records of the surveillance, including any sound recording obtained from the surveillance, for a period of not less than 90 days