intellectual property protection in franchise deals