Racism is not a thing. It is a way of thinking. It can come either in the form of intent; deliberate slurs, statements, or actions aimed at belittling or insulting some definable group of people (just now people of colour seem to be fashionable; in other times and places it might have Gypsies, or Jews, or Scots, or First Nations, or... "other"). Regrettably that does happen. None of the pieces of music so far mentioned fall into that category.
The other half -- the mirror image -- is the mindset which sees certain -- or perhaps any -- reference to a definable group of people (same list) as insulting or belittling. Regrettably, that is all too common these days.
There is one, and only one, solution to all this -- on the part of the first way of thinking, remember that all men and women are worthy and refrain from saying or writing or painting or whatever things which you intend to deliberately insult or belittle some other group of people. Just don't do it. On the part of the second mindset, again remember that all men and women are worthy; if you feel that someone has insulted or belittled you or your group, forgive them (yes, I know that that is very hard to do) and, if the chance offers, help them see that you and your group are, in fact, worthy.
And last, but not least, never ever consider or think that race is the first cause of some action or other -- that is the only working definition of racist.
Peace be with you.