[server][DBTermCodec] Rename a method to improve readablity.

get ->
enc