Prosecutors love to cite rap as criminal evidence, but artists and advocates are waging an increasingly successful effort to restrict the controversial practice.