(b) The court may not grant any change of name for any person convicted of any felony during the time that the person is incarcerated.
(c) The court may not grant any change of name for any person required to register with the State Police pursuant to the provisions of article twelve, chapter fifteen of this code during the period that the person is required to register.
(d) The court may not grant a change of name for persons convicted of first degree murder in violation of section one, article two, chapter sixty-one of this code for a period of ten years after the person is discharged from imprisonment or is discharged from parole, whichever occurs later.
(e) The court may not grant a change of name of any person convicted of violating any provision of section fourteen-a, article two, chapter sixty-one of this code for a period of ten years after the person is discharged from imprisonment or is discharged from parole, whichever occurs later.