libcommon: Use the now public ded_t API to lookup Text definitions