Any text that you want treated literally should be enclosed in a single quote, otherwise the system interprets the extra zero as part of the formatting (denoting leading zeros).
Make your text like this: Serial No: 0ddd’052020’
Similarly, if your prefix string was: Industrial ID: 0ddd
The ‘d’ in ‘industrial’ would confuse the number replacement code, so you’d have to quote that too.
The single quotes will be removed in the final result.