I agree, hiring law professionals with proven expertise in the relevant domains can be a valid (and costly) way to do get assurance.
As the parent hints that there are documented ways to do this sort if thing with open source licenses I would like to hear from them how this is done, just because you or I don't know it doesn't mean that somebody else hasn't found a bulletproof, court trsted way to do this.