Originally T417672.
It would be increasingly useful to make the AttributionDataBuilder a service and inject it into the Handler class instead of making the Handler class have to handle constructing an increasing number of dependencies to pass to AttributionDataBuilder::__construct(). This came up in several places, including https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikimediaCustomizations/+/1265557 .