I had to move it as this function is no longer called on edge proxies, but we still need to do this bit of trust processing.

I think this area of code needs a bit of refactoring.  I already raised a couple of issue because we do the served-user lookup for terminating services before we've done the enum lookup and in another case we do two IFC lookups.