public String getOriginalName(AccountIndex index) {
    Cursor cursor = getAccountCursor(index);
    try {
      if (!cursorIsEmpty(cursor)) {
        cursor.moveToFirst();
        int originalNameIndex = cursor.getColumnIndex(ORIGINAL_NAME_COLUMN);
        if (originalNameIndex < 0) {
          return null;
        }
        return cursor.getString(originalNameIndex);
      }
    } finally {
      tryCloseCursor(cursor);
    }
    return null;
  }
Returns the original account name associated with this account (before any renamings),
or {@code null} if this information is unavailable.
java/com/google/android/apps/authenticator/otp/AccountDb.java