Diamond is used in space probes as diamond is used in protective winds for space probes as it can keep out harmful radiations.
The diamond window is used in the Pioneer Venus probe. It is usedto let IR radiation for spectral studies and withstand extreme pressure levels during the ballistic trajectory.
Hence, Diamond is used in space probes because it can keep out harmful radiations.