Why not just spray it with Kilz then paint it with a good exterior paint? That is what I did over the roof of our coop. I've never applied spar over OSB but I would think with a coat of shellac for a sealer/primer you would be ok. Zinseer makes a sealer that works great.
Jeff