message: Changed calls to the depreacted StringPiece::contains with str_util::StrContains
diff: @@ -547,14 +547,14 @@ class MklLayoutRewritePass : public GraphOptimizationPass {
  // If Op has been specifically assigned to a non-CPU device, then No.
  if (!n->assigned_device_name().empty() &&
  - !StringPiece(n->assigned_device_name()).contains(kCPUDeviceSubStr)) {
  + !str_util::StrContains(n->assigned_device_name(),kCPUDeviceSubStr)) {
  result = false;
  reason = "Op has been assigned a runtime device that is not CPU.";
  }
  // If user has specifically assigned this op to a non-CPU device, then No.
  if (!n->def().device().empty() &&
  - !StringPiece(n->def().device()).contains(kCPUDeviceSubStr)) {
  + !str_util::StrContains(n->def().device(),kCPUDeviceSubStr)) {
  result = false;
  reason = "User has assigned a device that is not CPU.";
  }
  @@ -2691,14 +2691,14 @@ class MklLayoutRewritePass : public GraphOptimizationPass {
  // If Op has been specifically assigned to a non-CPU device, then No.
  if (!n->assigned_device_name().empty() &&
  - !StringPiece(n->assigned_device_name()).contains(kCPUDeviceSubStr)) {
  + !str_util::StrContains(n->assigned_device_name(),kCPUDeviceSubStr)) {
  result = false;
  reason = "Op has been assigned a runtime device that is not CPU.";
  }
  // If user has specifically assigned this op to a non-CPU device, then No.
  if (!n->def().device().empty() &&
  - !StringPiece(n->def().device()).contains(kCPUDeviceSubStr)) {
  + !str_util::StrContains(n->def().device(),kCPUDeviceSubStr)) {
  result = false;
  reason = "User has assigned a device that is not CPU.";
  }
  