See T330590: External LBs should not be exposed to developers for context, and this UrlShortener change for an example of the change to implement.
Should be a fairly small change, I expect – the DB setup is already well centralized in this extension, only two places call getExternalLB: the service wiring, and the database updater (where the service wiring isn’t available yet).