Cookie consent instagram embed

I use the wordpress eombed function to integrate instagram, twitter and youtube video posts.

To be in compliance with the RGPD, I need the instagram javascript call to block cookies based on your choice.

Currently i have:

<script async src="//platform.instagram.com/en_US/embeds.js"></script> 

I would like to have:

<script async data-cmp-src="//platform.instagram.com/en_US/embeds.js"></script> 

You will find an example on this article: https://www.nextplz.fr/telerealite/224614-eva-ducci-sublime-en-bikini-sa-metamorphose-fait-reagir-les-internautes?nowprocket

how to do ?

thanks a lot for your help