If you de-identify end user data, this may be a use compatible with the original purpose for which the data was provided and not require seeking consent from the individual.
So, that’s between you and the end user. What about in b2b contracts? Here, the question of using or commercializing data, even if anonymized, often becomes a point of discussion and negotiation.
Details from the International Association of Privacy Professionals.