protected void updateTtlIfRequired(BlobProperties blobProperties, MessageInfo messageInfo) {
    if (messageInfo.isTtlUpdated()) {
      long newTtlSecs =
          Utils.getTtlInSecsFromExpiryMs(messageInfo.getExpirationTimeInMs(), blobProperties.getCreationTimeInMs());
      blobProperties.setTimeToLiveInSeconds(newTtlSecs);
    }
  }
Updates the TTL in {@code blobProperties} if required
@param blobProperties the {@link BlobProperties} of the blob
@param messageInfo the {@link MessageInfo} received with the GET response
ambry-router/src/main/java/com/github/ambry/router/GetOperation.java