My suggestion would be to build it first, and worry about legal issues when/if they actually happen.
Maybe you'll build it and it will attract no attention. Or you'll get bored with the project and drop it. Or a myriad of other reasons that will result in the project not seeing adoption.
Legal issues likely will only happen if the project sees adoption. I would focus my energy on making it being adopted first, instead of fixing legal issues that might never materialize.