Fixed a bug where the integrity protection was included in the ASN1 and caused significant throughput bottleneck.