Make a new taxonomy picker field with another name for example subject_picker
and adapt your logic if subject_picker field has a value do new logic if not do old logic.
and also maybe create terms by the old text inputs with a job. (looping all your posts, getting the field and creating term (wp_insert_term()).
then do a job and set value to all the old terms for the new subject_picker field.