In case any of you still have this problem Apple will replace your phone for free if it's having mic issues. I just came back from the Apple store and got a replacement even though my phone was out of warranty.
Apple says mic problem affecting some iPhone 7 models with iOS 11.3 or later