Connect Arduino to Raspberry Pi with Tx/Rx

Plan C;-

Correct answer for OP, it is possible to use optocouplers to do the connection.

Opto-isolator Breakout sparkfun $4.95