For data lines which are pulled high by resistors, simply place a single enhancement-mode n-channel MOSFET as shown to perform bi-directional level shifting.
You will notice the inputs are or-ed together, so that if either is pulled low, both are forced low.