ENAMES are not constant over different acad sessions, so even restoring them from text (which is impossible) would be useless.
Instead, you should save the handle of the entity as text and restore it with (handent <handle>).
_$ e
<Entity name: 21f6b3c3a00>
_$ (setq h (cdr (assoc 5 (entget e))))
"180408"
_$ (handent h)
<Entity name: 21f6b3c3a00>