Okay, here's another thought.

Use 2 optos; each output feeds each target.

The serial out goes to the anodes of both the opto inputs; the 2 cathodes go to 2 separate pins, each of which can be selectively pulled low to allow transmission to the corresponding target.

Anand