What Dave said. Harry Kim was Voyager's ops officer, but he was an ensign, clear at the bottom of the chain of command. And if "second officer" means "third in command," then that would be a position generally filled by Scotty in TOS and Trip in ENT, both of them engineers.
Did not realized that about Tripp and I never watched TOS. ( I know, shame on me). Thanks guys.