I don't think comparing (high quality) prose and pop music makes sense. McCarthy has created some depraved and racist characters, but they're just characters in literature. The Judge's view on Native Americans isn't McCarthy's, for instance. Whereas Nas' view of women is pretty clear from Black Girl Lost or Roses* - he's not telling us a story, like Kendrick did on Keisha's Song for instance.
A better comparison would be to other genres. While rock and pop may be less explicit, in many ways they're just as ugly thematically. Like rock, hip hop is driven by hyper masculinity that doesn't really leave any room for anything else.
One of the interesting things about Prince was that while his music was filthy, it rarely felt hyper masculine. More often than not it felt ambiguous, and you could legitimately wonder who was being dominant, Prince or the women mentioned. Hip hop and rock don't really have room for that: it's sexual from one perspective. "If the chick doesn't like it, fuckouttahere and get another one." Weeknd gives me Prince vibes in this regard.
(same could be said of Bowie, another hyper sexual artist).