wfGetMessageCacheStorage is only used to initialize $messageMemc. wfGetMessageCacheStorage states that it retrieves the cache used by the MessageCache, which is available as a service instead. That should be the recommended replacement.
Codesearch indicates the only usage to be $messageMemc, which is to be deprecated in T243175: Deprecate and remove $messageMemc.