Former Joondalup cop accused of using police database to illegally access details about three people 180 times