$id_arr[0] contains the encryption key that I used po for additional security purpose.
(Is it okay to use $key_id? I can't think of a better variable name for this one po. :) sorry)