It's like +NICOLAS PERKINS
said: it alters the emotions connected with certain memories. To say it cures racism is so fucking sensationalist. The medicine they're working on currently will be used for a much larger scope, namely to cure or alleviate PTSD and other affective disabilities. I doubt racists will be lining up for this sort of stuff, and nobody would have the right to force it on them.
Also, unlike PTSD, racism is arguably genetic - rather, discrimination against "the other group" (be it racial, political, religious, etc.) - because the groups of humans who discriminated against different tribes and sought to push their own to success lasted longer, therefore their genes of discrimination got carried on.