When the conviction of a person for a violation of this subtitle becomes final, the court may order the destruction of any matter or advertisement that was the basis of the person’s conviction and that remains in the possession or under the control of the court, the State, or a law enforcement unit.