Darkness never entered Riku's heart it only covered it.
no, darkness enters the heart regardless, and then it consumes the greater you dwell
within the darkness. Riku just happened to have a strong heart, while not as strong as
Sora's, it was able enough to fight off the darkness, but not completely.