With the representation of a lawyer, a person may apply for expungement the court where convicted if the offense was a misdemeanor, the person has not been convicted of any other misdemeanor or felony, no felony or misdemeanor charges are pending against the person, and at least ten (10) years have passed since the judgment was entered, or if the offense was a nonviolent felony, as defined in Sect