In order for a trademark to sustain a registration, it must not interfere on its face with a preexisting registration. You are describing two different uses, so on its face, the trademark is not infringing.
However, if the same trademark is already registered by a competitor, and the USPTO officer determines that substantial evidence demonstrates that the two trademarks will be confusing to the ordinary consumer, then the officer can deny registration.
Moreover, even if you successfully register your trademark, you could be later challenged, under the theory that the competitor had prior use of the trademark, and that it is causing confusing in the marketplace.
On balance, you may end up spending money here and then losing your trademark registration
, after spending even more money defending your interests in court. Given that circumstance, you may want to reconsider your trademark, because there is a fair amount of risk associated with your contemplated registration and use.
Assuming you decide to take the risk and register, IC 9 is the appropriate registration code.
Hope this helps.