Its incidental. The state is in the url which is only shortened because its so long. Google’s url shortener is not needed to store the data.

It’s simply a normal use-case for a url shortener. A long url, usually because of some very large query parameter, which gets mapped to a short one.