Properly inject dependency in EntityCacheUpdater

This fixes a failing test where an invalid dependency was being pulled in

Bug 48250

Change-Id: I56301545eebd663fecb42a5a0724cbecedbf0645