conflict between and a friend and employer

I’d stay out.

You can tell your friend and boss the same thing, “I have a conflict of interest.”

It is absolutely truthful and if either of them don’t understand that fact, I’d drop them too.

Either of them can make their case without you. As far as I see it, you lose either way.