Does Ring of Mind Shielding or Mindblank block the Dream spell? If not, what does?

As the question states. What spells and/or effects apart from not sleeping give someone immunity from being contacted with Dream?

It would seem to me that as long as you’re on the same plane as your target and your target is asleep, there is no RAW way for your target to avoid being targeted by Dream.