IP protection in franchise deals