Below was a sample for place of birth discrepancy. On similar lines you can create for name too.
Affidavit for discrepancy
"I <name> residing at <address>, do solemnly affirm and declare as under:
That I am naturalized Canadian citizen since <date>
That I am in the midst of submitting my application for OCI to India, and that I am submitting
this affidavit due to a mismatch in my Indian and Canadian passports regarding my place of
birth.
I hereby declare that I was born on <DOB> in the city of Bhavnagar in Gujarat State,
India.
That my Indian passport no. <PPT#> has the place of my birth appropriately mentioned as
'Bhavna (GS)'. Whereas, in my Canadian passport no. <PPTCDN#> the place of birth is just
mentioned as Gujarat, IND
I hereby wish to clarify that GS and Gujarat State are one and the same. Gujarat State is simply
abbreviated as GS on my Canadian passport. Also the city of my birth 'Bhavna' is not mentioned
on my Canadian passport.
I'd also like to point out that my place of birth is listed as Bhavna, Gujarat State, India on all of
my documents (including educational records, police clearance certificates, and previous
immigration records), and I obtained my Canadian citizenship based on the same documents and
after passing all background checks.
That I am executing this declaration to resolve any discrepancies between my Indian passport
and my Canadian passport about my place and state of birth.
I also understand that a person who knowingly and wilfully falsifies this affidavit is subject to
criminal punishment as provided by law.
Signature:
Printed Name:"