Maybe 2n2222 transistor? It handles up to 65V/600mA if I remember correctly(anyway, for sure it will handle ur diode) and still can be activated by Raspi, so would be suitable for this, any maybe many more applications in the future.
Moreover very cheap and extremlly popular around the world.