policy: Update policy callback server functions to handle deferred resources and data sources (#38781)