With the introduction of AutoGetDb::ensureDbExists() and AutoGetCollection::ensureDbExists() in
SERVER-45955, there is no longer a need for AutoGetOrCreateDb and removing it would simplify the codebase. Going through and directly translating the uses should be trivial, however anywhere we use this pattern:
should be changed into
This change leads to implicitly creating the system.views collection hitting this uassert, which we would should investigate whether we can circumvent.