I. Upon intake or prior to the release of any offender after conviction for the commission of any sexual offense, as defined in RSA 651-B:1, V, or any offense against a child as defined in RSA 651-B:1, VII, or any other felony offense prohibited by the laws of this or another state or federal law, whether on probation, conditional or unconditional release, completion of sentence, or release for any other reason, such person shall have a DNA sample taken for DNA analysis to determine identification characteristics specific to the person.
   II. The analysis shall be performed under the direction of the division, following procedures in conformance with the federal “DNA Identification Act of 1994”. Identifying characteristics of the resulting DNA profile shall be stored by the division in a DNA database compatible with and maintained by the CODIS system. Information in the database shall be made available only as provided in RSA 651-C:3.
   III. The division shall prescribe procedures compatible with the Federal Bureau of Investigation’s requirements for the CODIS program, to be used in the collection, submission, identification, analysis, storage, and disposition of DNA samples and DNA records obtained pursuant to this subdivision.
   IV. The division may contract with third parties for the purposes of this subdivision. Any DNA sample sent to third parties for analysis shall be coded to maintain confidentiality concerning the donor of the sample.
   V. A certificate and the results of the analysis shall be admissible in any court as evidence of the facts stated in the analysis.
   VI. A law enforcement officer may use such means as are reasonably necessary to detain, restrain, and collect a DNA sample from an individual who refuses to cooperate in the collection of a sample.
   VII. If the initial DNA sample collected from an individual is found to be deficient, a new sample shall be collected.
   VIII. Any person required under this chapter to submit a DNA sample, including a juvenile offender who is required to submit a DNA sample prior to the juvenile’s eighteenth birthday, who knowingly refuses to submit such sample for a period of 30 days after receiving notice from the division, the department of corrections, probation, parole, or other authorized representative of law enforcement shall be guilty of a class A misdemeanor.
   IX. Any entry into the database which is found to be erroneous shall not prohibit law enforcement officials from the legitimate use of the information in the furtherance of a criminal investigation.
   X. Any authorized individual collecting a DNA sample shall be immune from civil liability, provided such person acts with reasonable care under the circumstances.